package com.weipu.common.facade.model;

import java.io.Serializable;

public class ModuleChildrenModel implements Serializable{
	/**
	 * 唯一标识
	 */
	private static final long serialVersionUID = 7502670662406569155L;
	
	//传值标识
	public static final String  ACTIVTYPE = "activType";
	public static final String  ACTIVID = "activID";
	/**
	 * @描述：活动有效
	 */
	public static final int STATE_VALID = 0;
	/**
	 * @描述：活动停止
	 */
	public static final int STATE_STOP = 1;
	/**
	 * @描述：活动下架
	 */
	public static final int STATE_DOWN = 2;
	
	/**
	 * @描述：产品列表
	 */
	public static final int LINKTYPE_PRODUCTLIST= 0;
	/**
	 * @描述：产品详情
	 */
	public static final int LINKTYPE_PRODUCTDETAIL= 1;
	/**
	 * @描述：外部浏览器打开URL
	 */
	public static final int LINKTYPE_OUTURL= 2;
	/**
	 * @描述：内嵌浏览器打开URL
	 */
	public static final int LINKTYPE_INNERURL= 3;
	/**
	 * @描述：没有点击事件
	 */
	public static final int LINKTYPE_CANNOTLINK= 4;
	/**
	 * @描述：客户端自定义去向
	 */
	public static final int LINKTYPE_CLIENT= 5;
	
	
	
	// 唯一标示
	private String ActiveID="";
	// 名称
	private String Name="";
	//副标题
	private String SubName="";
	// 活动类型
	private int ActiveType;
	//活动排列
	private long Sort;
	// 网页链接
	private String LinkUrl="";
	// PhoneImg的URL地址
	private String PhoneImg="";
	// PadImg的URL地址
	private String PadImg="";
	// 若活动为单个产品的 即对应产品的sku
	private int Sku;
	/**
	 * @描述：活动的状态
	 * STATE_VALID ＝0：有效
	 * STATE_STOP ＝ 1：停止
	 * STATE_DOWN ＝ 2：下架
	 */
	private int State;

	/**
	 * ProductList=0, 点击时转到产品列表，向服务器端传入ActiveID来获取SKU列表
	 * ProductDetail=1,点击时转到产品详情页 
	 * OutURL=2, 点击时启动浏览器加载一个网页，网页由LinkUrl指定 
	 * InnerURL=3 点击时使用webview加载一个网页，网页由LinkUrl指定
	 * CannotLink=4, 点击无反应 
	 * Client=5, 客户端自己决定怎么跳转
	 */
	private int LinkType;
	
	
	//给默认设置Topseller MVp NewArraivals LatestDiscount使用
	int resId;
	
	boolean isDefault;

	//从首页点击进去请求的接口后缀
	String InterfaceSuffix;

	public String getInterfaceSuffix() {
		return InterfaceSuffix;
	}

	public void setInterfaceSuffix(String interfaceSuffix) {
		InterfaceSuffix = interfaceSuffix;
	}

	public String getSubName() {
		return SubName;
	}

	public void setSubName(String subName) {
		SubName = subName;
	}

	public int getState() {
		return State;
	}

	public void setState(int state) {
		State = state;
	}

	public String getActiveID() {
		return ActiveID;
	}

	public void setActiveID(String activeID) {
		ActiveID = activeID;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public int getActiveType() {
		return ActiveType;
	}

	public void setActiveType(int activeType) {
		ActiveType = activeType;
	}

	public long getSort() {
		return Sort;
	}

	public void setSort(long sort) {
		Sort = sort;
	}

	public String getLinkUrl() {
		return LinkUrl;
	}

	public void setLinkUrl(String linkUrl) {
		LinkUrl = linkUrl;
	}


	public String getPhoneImg() {
		return PhoneImg;
	}

	public void setPhoneImg(String phoneImg) {
		PhoneImg = phoneImg;
	}

	public String getPadImg() {
		return PadImg;
	}

	public void setPadImg(String padImg) {
		PadImg = padImg;
	}

	public int getSku() {
		return Sku;
	}

	public void setSku(int sku) {
		Sku = sku;
	}

	public int getLinkType() {
		return LinkType;
	}

	public void setLinkType(int linkType) {
		LinkType = linkType;
	}

	public int getResId() {
		return resId;
	}

	public void setResId(int resId) {
		this.resId = resId;
	}

	public boolean isDefault() {
		return isDefault;
	}

	public void setDefault(boolean isDefault) {
		this.isDefault = isDefault;
	}

	@Override
	public String toString() {
		return "ModuleChildrenModel{" +
				"ActiveID='" + ActiveID + '\'' +
				", Name='" + Name + '\'' +
				", SubName='" + SubName + '\'' +
				", ActiveType=" + ActiveType +
				", Sort=" + Sort +
				", LinkUrl='" + LinkUrl + '\'' +
				", PhoneImg='" + PhoneImg + '\'' +
				", PadImg='" + PadImg + '\'' +
				", Sku=" + Sku +
				", State=" + State +
				", LinkType=" + LinkType +
				", resId=" + resId +
				", isDefault=" + isDefault +
				", InterfaceSuffix='" + InterfaceSuffix + '\'' +
				'}';
	}
}
